module RMQ
  module Constants
    MQCC_OK      = 0
    MQCC_WARNING = 1
    MQCC_FAILED  = 2
    MQCC_UNKNOWN = -1


    #MQAI
    # Create-Bag Options for mqCreateBag
    MQCBO_NONE                   = 0x00000000
    MQCBO_USER_BAG               = 0x00000000
    MQCBO_ADMIN_BAG              = 0x00000001
    MQCBO_COMMAND_BAG            = 0x00000010
    MQCBO_SYSTEM_BAG             = 0x00000020
    MQCBO_GROUP_BAG              = 0x00000040
    MQCBO_LIST_FORM_ALLOWED      = 0x00000002
    MQCBO_LIST_FORM_INHIBITED    = 0x00000000
    MQCBO_REORDER_AS_REQUIRED    = 0x00000004
    MQCBO_DO_NOT_REORDER         = 0x00000000
    MQCBO_CHECK_SELECTORS        = 0x00000008
    MQCBO_DO_NOT_CHECK_SELECTORS = 0x00000000

    # Character Attribute Selectors
    MQCA_ADMIN_TOPIC_NAME      = 2105
    MQCA_ALTERATION_DATE       = 2027
    MQCA_ALTERATION_TIME       = 2028
    MQCA_APPL_ID               = 2001
    MQCA_AUTH_INFO_CONN_NAME   = 2053
    MQCA_AUTH_INFO_DESC        = 2046
    MQCA_AUTH_INFO_NAME        = 2045
    MQCA_AUTH_INFO_OCSP_URL    = 2109
    MQCA_AUTO_REORG_CATALOG    = 2091
    MQCA_AUTO_REORG_START_TIME = 2090
    MQCA_BACKOUT_REQ_Q_NAME    = 2019
    MQCA_BASE_OBJECT_NAME      = 2002
    MQCA_BASE_Q_NAME           = 2002
    MQCA_BATCH_INTERFACE_ID    = 2068
    MQCA_CF_STRUC_DESC         = 2052
    MQCA_CF_STRUC_NAME         = 2039
    MQCA_CHANNEL_AUTO_DEF_EXIT = 2026
    MQCA_CHILD                 = 2101
    MQCA_CHINIT_SERVICE_PARM   = 2076
    MQCA_CICS_FILE_NAME        = 2060
    MQCA_CLUSTER_DATE          = 2037
    MQCA_CLUSTER_NAME          = 2029
    MQCA_CLUSTER_NAMELIST      = 2030
    MQCA_CLUSTER_Q_MGR_NAME    = 2031
    MQCA_CLUSTER_TIME          = 2038
    MQCA_CLUSTER_WORKLOAD_DATA = 2034
    MQCA_CLUSTER_WORKLOAD_EXIT = 2033
    MQCA_COMMAND_INPUT_Q_NAME  = 2003
    MQCA_COMMAND_REPLY_Q_NAME  = 2067
    MQCA_CREATION_DATE         = 2004
    MQCA_CREATION_TIME         = 2005
    MQCA_DEAD_LETTER_Q_NAME    = 2006
    MQCA_DEF_XMIT_Q_NAME       = 2025
    MQCA_DNS_GROUP             = 2071
    MQCA_ENV_DATA              = 2007
    MQCA_FIRST                 = 2001
    MQCA_IGQ_USER_ID           = 2041
    MQCA_INITIATION_Q_NAME     = 2008
    MQCA_LAST                  = 4000
    MQCA_LAST_USED             = 2109
    MQCA_LDAP_PASSWORD         = 2048
    MQCA_LDAP_USER_NAME        = 2047
    MQCA_LU_GROUP_NAME         = 2072
    MQCA_LU_NAME               = 2073
    MQCA_LU62_ARM_SUFFIX       = 2074
    MQCA_MODEL_DURABLE_Q       = 2096
    MQCA_MODEL_NON_DURABLE_Q   = 2097
    MQCA_MONITOR_Q_NAME        = 2066
    MQCA_NAMELIST_DESC         = 2009
    MQCA_NAMELIST_NAME         = 2010
    MQCA_NAMES                 = 2020
    MQCA_PARENT                = 2102
    MQCA_PASS_TICKET_APPL      = 2086
    MQCA_PROCESS_DESC          = 2011
    MQCA_PROCESS_NAME          = 2012
    MQCA_Q_DESC                = 2013
    MQCA_Q_MGR_DESC            = 2014
    MQCA_Q_MGR_IDENTIFIER      = 2032
    MQCA_Q_MGR_NAME            = 2015
    MQCA_Q_NAME                = 2016
    MQCA_QSG_NAME              = 2040
    MQCA_REMOTE_Q_MGR_NAME     = 2017
    MQCA_REMOTE_Q_NAME         = 2018
    MQCA_REPOSITORY_NAME       = 2035
    MQCA_REPOSITORY_NAMELIST   = 2036
    MQCA_RESUME_DATE           = 2098
    MQCA_RESUME_TIME           = 2099
    MQCA_SERVICE_DESC          = 2078
    MQCA_SERVICE_NAME          = 2077
    MQCA_SERVICE_START_ARGS    = 2080
    MQCA_SERVICE_START_COMMAND = 2079
    MQCA_SERVICE_STOP_ARGS     = 2082
    MQCA_SERVICE_STOP_COMMAND  = 2081
    MQCA_STDERR_DESTINATION    = 2084
    MQCA_STDOUT_DESTINATION    = 2083
    MQCA_SSL_CRL_NAMELIST      = 2050
    MQCA_SSL_CRYPTO_HARDWARE   = 2051
    MQCA_SSL_KEY_LIBRARY       = 2069
    MQCA_SSL_KEY_MEMBER        = 2070
    MQCA_SSL_KEY_REPOSITORY    = 2049
    MQCA_STORAGE_CLASS         = 2022
    MQCA_STORAGE_CLASS_DESC    = 2042
    MQCA_SYSTEM_LOG_Q_NAME     = 2065
    MQCA_TCP_NAME              = 2075
    MQCA_TOPIC_DESC            = 2093
    MQCA_TOPIC_NAME            = 2092
    MQCA_TOPIC_STRING          = 2094
    MQCA_TOPIC_STRING_FILTER   = 2108
    MQCA_TPIPE_NAME            = 2085
    MQCA_TRIGGER_CHANNEL_NAME  = 2064
    MQCA_TRIGGER_DATA          = 2023
    MQCA_TRIGGER_PROGRAM_NAME  = 2062
    MQCA_TRIGGER_TERM_ID       = 2063
    MQCA_TRIGGER_TRANS_ID      = 2061
    MQCA_USER_DATA             = 2021
    MQCA_USER_LIST             = 4000
    MQCA_XCF_GROUP_NAME        = 2043
    MQCA_XCF_MEMBER_NAME       = 2044
    MQCA_XMIT_Q_NAME           = 2024

    # buffer length
    MQBL_NULL_TERMINATED      = -1

    # Integer Attribute Selectors
    MQIA_ACCOUNTING_CONN_OVERRIDE   = 136
    MQIA_ACCOUNTING_INTERVAL        = 135
    MQIA_ACCOUNTING_MQI             = 133
    MQIA_ACCOUNTING_Q               = 134
    MQIA_ACTIVE_CHANNELS            = 100
    MQIA_ACTIVITY_RECORDING         = 138
    MQIA_ADOPTNEWMCA_CHECK          = 102
    MQIA_ADOPTNEWMCA_TYPE           = 103
    MQIA_ADOPTNEWMCA_INTERVAL       = 104
    MQIA_APPL_TYPE                  = 1
    MQIA_ARCHIVE                    = 60
    MQIA_AUTH_INFO_TYPE             = 66
    MQIA_AUTHORITY_EVENT            = 47
    MQIA_AUTO_REORG_INTERVAL        = 174
    MQIA_AUTO_REORGANIZATION        = 173
    MQIA_BACKOUT_THRESHOLD          = 22
    MQIA_BASE_TYPE                  = 193
    MQIA_BATCH_INTERFACE_AUTO       = 86
    MQIA_BRIDGE_EVENT               = 74
    MQIA_CF_LEVEL                   = 70
    MQIA_CF_RECOVER                 = 71
    MQIA_CHANNEL_AUTO_DEF           = 55
    MQIA_CHANNEL_AUTO_DEF_EVENT     = 56
    MQIA_CHANNEL_EVENT              = 73
    MQIA_CHINIT_ADAPTERS            = 101
    MQIA_CHINIT_CONTROL             = 119
    MQIA_CHINIT_DISPATCHERS         = 105
    MQIA_CHINIT_TRACE_AUTO_START    = 117
    MQIA_CHINIT_TRACE_TABLE_SIZE    = 118
    MQIA_CLUSTER_Q_TYPE             = 59
    MQIA_CLUSTER_WORKLOAD_LENGTH    = 58
    MQIA_CLWL_MRU_CHANNELS          = 97
    MQIA_CLWL_Q_RANK                = 95
    MQIA_CLWL_Q_PRIORITY            = 96
    MQIA_CLWL_USEQ                  = 98
    MQIA_CMD_SERVER_AUTO            = 87
    MQIA_CMD_SERVER_CONTROL         = 120
    MQIA_CMD_SERVER_CONVERT_MSG     = 88
    MQIA_CMD_SERVER_DLQ_MSG         = 89
    MQIA_CODED_CHAR_SET_ID          = 2
    MQIA_COMMAND_EVENT              = 99
    MQIA_COMMAND_LEVEL              = 31
    MQIA_CONFIGURATION_EVENT        = 51
    MQIA_CPI_LEVEL                  = 27
    MQIA_CURRENT_Q_DEPTH            = 3
    MQIA_DEF_BIND                   = 61
    MQIA_DEF_INPUT_OPEN_OPTION      = 4
    MQIA_DEF_PERSISTENCE            = 5
    MQIA_DEF_PRIORITY               = 6
    MQIA_DEF_PUT_RESPONSE_TYPE      = 184
    MQIA_DEF_READ_AHEAD             = 188
    MQIA_DEFINITION_TYPE            = 7
    MQIA_DIST_LISTS                 = 34
    MQIA_DNS_WLM                    = 106
    MQIA_DURABLE_SUB                = 175
    MQIA_EXPIRY_INTERVAL            = 39
    MQIA_FIRST                      = 1
    MQIA_GROUP_UR                   = 221
    MQIA_HARDEN_GET_BACKOUT         = 8
    MQIA_HIGH_Q_DEPTH               = 36
    MQIA_IGQ_PUT_AUTHORITY          = 65
    MQIA_INDEX_TYPE                 = 57
    MQIA_INHIBIT_EVENT              = 48
    MQIA_INHIBIT_GET                = 9
    MQIA_INHIBIT_PUB                = 181
    MQIA_INHIBIT_PUT                = 10
    MQIA_INHIBIT_SUB                = 182
    MQIA_INTRA_GROUP_QUEUING        = 64
    MQIA_IP_ADDRESS_VERSION         = 93
    MQIA_LAST                       = 2000
    MQIA_LAST_USED                  = 222
    MQIA_LISTENER_PORT_NUMBER       = 85
    MQIA_LISTENER_TIMER             = 107
    MQIA_LOGGER_EVENT               = 94
    MQIA_LU62_CHANNELS              = 108
    MQIA_LOCAL_EVENT                = 49
    MQIA_MSG_MARK_BROWSE_INTERVAL   = 68
    MQIA_MASTER_ADMIN               = 186
    MQIA_MAX_CHANNELS               = 109
    MQIA_MAX_CLIENTS                = 172
    MQIA_MAX_GLOBAL_LOCKS           = 83
    MQIA_MAX_HANDLES                = 11
    MQIA_MAX_LOCAL_LOCKS            = 84
    MQIA_MAX_MSG_LENGTH             = 13
    MQIA_MAX_OPEN_Q                 = 80
    MQIA_MAX_PRIORITY               = 14
    MQIA_MAX_PROPERTIES_LENGTH      = 192
    MQIA_MAX_Q_DEPTH                = 15
    MQIA_MAX_Q_TRIGGERS             = 90
    MQIA_MAX_RECOVERY_TASKS         = 171
    MQIA_MAX_UNCOMMITTED_MSGS       = 33
    MQIA_MONITOR_INTERVAL           = 81
    MQIA_MONITORING_AUTO_CLUSSDR    = 124
    MQIA_MONITORING_CHANNEL         = 122
    MQIA_MONITORING_Q               = 123
    MQIA_MSG_DELIVERY_SEQUENCE      = 16
    MQIA_MSG_DEQ_COUNT              = 38
    MQIA_MSG_ENQ_COUNT              = 37
    MQIA_NAME_COUNT                 = 19
    MQIA_NAMELIST_TYPE              = 72
    MQIA_NPM_CLASS                  = 78
    MQIA_NPM_DELIVERY               = 196
    MQIA_OPEN_INPUT_COUNT           = 17
    MQIA_OPEN_OUTPUT_COUNT          = 18
    MQIA_OUTBOUND_PORT_MAX          = 140
    MQIA_OUTBOUND_PORT_MIN          = 110
    MQIA_PAGESET_ID                 = 62
    MQIA_PERFORMANCE_EVENT          = 53
    MQIA_PLATFORM                   = 32
    MQIA_PM_DELIVERY                = 195
    MQIA_PROPERTY_CONTROL           = 190
    MQIA_PROXY_SUB                  = 199
    MQIA_PUB_COUNT                  = 215
    MQIA_PUB_SCOPE                  = 219
    MQIA_PUBSUB_MAXMSG_RETRY_COUNT  = 206
    MQIA_PUBSUB_MODE                = 187
    MQIA_PUBSUB_NP_MSG              = 203
    MQIA_PUBSUB_NP_RESP             = 205
    MQIA_PUBSUB_SYNC_PT             = 207
    MQIA_Q_DEPTH_HIGH_EVENT         = 43
    MQIA_Q_DEPTH_HIGH_LIMIT         = 40
    MQIA_Q_DEPTH_LOW_EVENT          = 44
    MQIA_Q_DEPTH_LOW_LIMIT          = 41
    MQIA_Q_DEPTH_MAX_EVENT          = 42
    MQIA_Q_SERVICE_INTERVAL         = 54
    MQIA_Q_SERVICE_INTERVAL_EVENT   = 46
    MQIA_Q_TYPE                     = 20
    MQIA_Q_USERS                    = 82
    MQIA_QMOPT_CONS_COMMS_MSGS      = 155
    MQIA_QMOPT_CONS_CRITICAL_MSGS   = 154
    MQIA_QMOPT_CONS_ERROR_MSGS      = 153
    MQIA_QMOPT_CONS_INFO_MSGS       = 151
    MQIA_QMOPT_CONS_REORG_MSGS      = 156
    MQIA_QMOPT_CONS_SYSTEM_MSGS     = 157
    MQIA_QMOPT_CONS_WARNING_MSGS    = 152
    MQIA_QMOPT_CSMT_ON_ERROR        = 150
    MQIA_QMOPT_INTERNAL_DUMP        = 170
    MQIA_QMOPT_LOG_COMMS_MSGS       = 162
    MQIA_QMOPT_LOG_CRITICAL_MSGS    = 161
    MQIA_QMOPT_LOG_ERROR_MSGS       = 160
    MQIA_QMOPT_LOG_INFO_MSGS        = 158
    MQIA_QMOPT_LOG_REORG_MSGS       = 163
    MQIA_QMOPT_LOG_SYSTEM_MSGS      = 164
    MQIA_QMOPT_LOG_WARNING_MSGS     = 159
    MQIA_QMOPT_TRACE_COMMS          = 166
    MQIA_QMOPT_TRACE_CONVERSION     = 168
    MQIA_QMOPT_TRACE_REORG          = 167
    MQIA_QMOPT_TRACE_MQI_CALLS      = 165
    MQIA_QMOPT_TRACE_SYSTEM         = 169
    MQIA_QSG_DISP                   = 63
    MQIA_READ_AHEAD                 = 189
    MQIA_RECEIVE_TIMEOUT            = 111
    MQIA_RECEIVE_TIMEOUT_MIN        = 113
    MQIA_RECEIVE_TIMEOUT_TYPE       = 112
    MQIA_REMOTE_EVENT               = 50
    MQIA_RETENTION_INTERVAL         = 21
    MQIA_SCOPE                      = 45
    MQIA_SECURITY_CASE              = 141
    MQIA_SERVICE_CONTROL            = 139
    MQIA_SERVICE_TYPE               = 121
    MQIA_SHAREABILITY               = 23
    MQIA_SHARED_Q_Q_MGR_NAME        = 77
    MQIA_SSL_EVENT                  = 75
    MQIA_SSL_FIPS_REQUIRED          = 92
    MQIA_SSL_RESET_COUNT            = 76
    MQIA_SSL_TASKS                  = 69
    MQIA_START_STOP_EVENT           = 52
    MQIA_STATISTICS_CHANNEL         = 129
    MQIA_STATISTICS_AUTO_CLUSSDR    = 130
    MQIA_STATISTICS_INTERVAL        = 131
    MQIA_STATISTICS_MQI             = 127
    MQIA_STATISTICS_Q               = 128
    MQIA_SUB_COUNT                  = 204
    MQIA_SUB_SCOPE                  = 218
    MQIA_SYNCPOINT                  = 30
    MQIA_TCP_CHANNELS               = 114
    MQIA_TCP_KEEP_ALIVE             = 115
    MQIA_TCP_STACK_TYPE             = 116
    MQIA_TIME_SINCE_RESET           = 35
    MQIA_TOPIC_DEF_PERSISTENCE      = 185
    MQIA_TOPIC_TYPE                 = 208
    MQIA_TRACE_ROUTE_RECORDING      = 137
    MQIA_TREE_LIFE_TIME             = 183
    MQIA_TRIGGER_CONTROL            = 24
    MQIA_TRIGGER_DEPTH              = 29
    MQIA_TRIGGER_INTERVAL           = 25
    MQIA_TRIGGER_MSG_PRIORITY       = 26
    MQIA_TRIGGER_TYPE               = 28
    MQIA_TRIGGER_RESTART            = 91
    MQIA_UR_DISP                    = 222
    MQIA_USAGE                      = 12
    MQIA_USER_LIST                  = 2000
    MQIA_WILDCARD_OPERATION         = 216
    
    # Integer Parameter Types
    MQIACF_FIRST                   = 1001
    MQIACF_Q_MGR_ATTRS             = 1001
    MQIACF_Q_ATTRS                 = 1002
    MQIACF_PROCESS_ATTRS           = 1003
    MQIACF_NAMELIST_ATTRS          = 1004
    MQIACF_FORCE                   = 1005
    MQIACF_REPLACE                 = 1006
    MQIACF_PURGE                   = 1007
    MQIACF_QUIESCE                 = 1008
    MQIACF_MODE                    = 1008
    MQIACF_ALL                     = 1009
    MQIACF_EVENT_APPL_TYPE         = 1010
    MQIACF_EVENT_ORIGIN            = 1011
    MQIACF_PARAMETER_ID            = 1012
    MQIACF_ERROR_ID                = 1013
    MQIACF_ERROR_IDENTIFIER        = 1013
    MQIACF_SELECTOR                = 1014
    MQIACF_CHANNEL_ATTRS           = 1015
    MQIACF_OBJECT_TYPE             = 1016
    MQIACF_ESCAPE_TYPE             = 1017
    MQIACF_ERROR_OFFSET            = 1018
    MQIACF_AUTH_INFO_ATTRS         = 1019
    MQIACF_REASON_QUALIFIER        = 1020
    MQIACF_COMMAND                 = 1021
    MQIACF_OPEN_OPTIONS            = 1022
    MQIACF_OPEN_TYPE               = 1023
    MQIACF_PROCESS_ID              = 1024
    MQIACF_THREAD_ID               = 1025
    MQIACF_Q_STATUS_ATTRS          = 1026
    MQIACF_UNCOMMITTED_MSGS        = 1027
    MQIACF_HANDLE_STATE            = 1028
    MQIACF_AUX_ERROR_DATA_INT_1    = 1070
    MQIACF_AUX_ERROR_DATA_INT_2    = 1071
    MQIACF_CONV_REASON_CODE        = 1072
    MQIACF_BRIDGE_TYPE             = 1073
    MQIACF_INQUIRY                 = 1074
    MQIACF_WAIT_INTERVAL           = 1075
    MQIACF_OPTIONS                 = 1076
    MQIACF_BROKER_OPTIONS          = 1077
    MQIACF_REFRESH_TYPE            = 1078
    MQIACF_SEQUENCE_NUMBER         = 1079
    MQIACF_INTEGER_DATA            = 1080
    MQIACF_REGISTRATION_OPTIONS    = 1081
    MQIACF_PUBLICATION_OPTIONS     = 1082
    MQIACF_CLUSTER_INFO            = 1083
    MQIACF_Q_MGR_DEFINITION_TYPE   = 1084
    MQIACF_Q_MGR_TYPE              = 1085
    MQIACF_ACTION                  = 1086
    MQIACF_SUSPEND                 = 1087
    MQIACF_BROKER_COUNT            = 1088
    MQIACF_APPL_COUNT              = 1089
    MQIACF_ANONYMOUS_COUNT         = 1090
    MQIACF_REG_REG_OPTIONS         = 1091
    MQIACF_DELETE_OPTIONS          = 1092
    MQIACF_CLUSTER_Q_MGR_ATTRS     = 1093
    MQIACF_REFRESH_INTERVAL        = 1094
    MQIACF_REFRESH_REPOSITORY      = 1095
    MQIACF_REMOVE_QUEUES           = 1096
    MQIACF_OPEN_INPUT_TYPE         = 1098
    MQIACF_OPEN_OUTPUT             = 1099
    MQIACF_OPEN_SET                = 1100
    MQIACF_OPEN_INQUIRE            = 1101
    MQIACF_OPEN_BROWSE             = 1102
    MQIACF_Q_STATUS_TYPE           = 1103
    MQIACF_Q_HANDLE                = 1104
    MQIACF_Q_STATUS                = 1105
    MQIACF_SECURITY_TYPE           = 1106
    MQIACF_CONNECTION_ATTRS        = 1107
    MQIACF_CONNECT_OPTIONS         = 1108
    MQIACF_CONN_INFO_TYPE          = 1110
    MQIACF_CONN_INFO_CONN          = 1111
    MQIACF_CONN_INFO_HANDLE        = 1112
    MQIACF_CONN_INFO_ALL           = 1113
    MQIACF_AUTH_PROFILE_ATTRS      = 1114
    MQIACF_AUTHORIZATION_LIST      = 1115
    MQIACF_AUTH_ADD_AUTHS          = 1116
    MQIACF_AUTH_REMOVE_AUTHS       = 1117
    MQIACF_ENTITY_TYPE             = 1118
    MQIACF_COMMAND_INFO            = 1120
    MQIACF_CMDSCOPE_Q_MGR_COUNT    = 1121
    MQIACF_Q_MGR_SYSTEM            = 1122
    MQIACF_Q_MGR_EVENT             = 1123
    MQIACF_Q_MGR_DQM               = 1124
    MQIACF_Q_MGR_CLUSTER           = 1125
    MQIACF_QSG_DISPS               = 1126
    MQIACF_UOW_STATE               = 1128
    MQIACF_SECURITY_ITEM           = 1129
    MQIACF_CF_STRUC_STATUS         = 1130
    MQIACF_UOW_TYPE                = 1132
    MQIACF_CF_STRUC_ATTRS          = 1133
    MQIACF_EXCLUDE_INTERVAL        = 1134
    MQIACF_CF_STATUS_TYPE          = 1135
    MQIACF_CF_STATUS_SUMMARY       = 1136
    MQIACF_CF_STATUS_CONNECT       = 1137
    MQIACF_CF_STATUS_BACKUP        = 1138
    MQIACF_CF_STRUC_TYPE           = 1139
    MQIACF_CF_STRUC_SIZE_MAX       = 1140
    MQIACF_CF_STRUC_SIZE_USED      = 1141
    MQIACF_CF_STRUC_ENTRIES_MAX    = 1142
    MQIACF_CF_STRUC_ENTRIES_USED   = 1143
    MQIACF_CF_STRUC_BACKUP_SIZE    = 1144
    MQIACF_MOVE_TYPE               = 1145
    MQIACF_MOVE_TYPE_MOVE          = 1146
    MQIACF_MOVE_TYPE_ADD           = 1147
    MQIACF_Q_MGR_NUMBER            = 1148
    MQIACF_Q_MGR_STATUS            = 1149
    MQIACF_DB2_CONN_STATUS         = 1150
    MQIACF_SECURITY_ATTRS          = 1151
    MQIACF_SECURITY_TIMEOUT        = 1152
    MQIACF_SECURITY_INTERVAL       = 1153
    MQIACF_SECURITY_SWITCH         = 1154
    MQIACF_SECURITY_SETTING        = 1155
    MQIACF_STORAGE_CLASS_ATTRS     = 1156
    MQIACF_USAGE_TYPE              = 1157
    MQIACF_BUFFER_POOL_ID          = 1158
    MQIACF_USAGE_TOTAL_PAGES       = 1159
    MQIACF_USAGE_UNUSED_PAGES      = 1160
    MQIACF_USAGE_PERSIST_PAGES     = 1161
    MQIACF_USAGE_NONPERSIST_PAGES  = 1162
    MQIACF_USAGE_RESTART_EXTENTS   = 1163
    MQIACF_USAGE_EXPAND_COUNT      = 1164
    MQIACF_PAGESET_STATUS          = 1165
    MQIACF_USAGE_TOTAL_BUFFERS     = 1166
    MQIACF_USAGE_DATA_SET_TYPE     = 1167
    MQIACF_USAGE_PAGESET           = 1168
    MQIACF_USAGE_DATA_SET          = 1169
    MQIACF_USAGE_BUFFER_POOL       = 1170
    MQIACF_MOVE_COUNT              = 1171
    MQIACF_EXPIRY_Q_COUNT          = 1172
    MQIACF_CONFIGURATION_OBJECTS   = 1173
    MQIACF_CONFIGURATION_EVENTS    = 1174
    MQIACF_SYSP_TYPE               = 1175
    MQIACF_SYSP_DEALLOC_INTERVAL   = 1176
    MQIACF_SYSP_MAX_ARCHIVE        = 1177
    MQIACF_SYSP_MAX_READ_TAPES     = 1178
    MQIACF_SYSP_IN_BUFFER_SIZE     = 1179
    MQIACF_SYSP_OUT_BUFFER_SIZE    = 1180
    MQIACF_SYSP_OUT_BUFFER_COUNT   = 1181
    MQIACF_SYSP_ARCHIVE            = 1182
    MQIACF_SYSP_DUAL_ACTIVE        = 1183
    MQIACF_SYSP_DUAL_ARCHIVE       = 1184
    MQIACF_SYSP_DUAL_BSDS          = 1185
    MQIACF_SYSP_MAX_CONNS          = 1186
    MQIACF_SYSP_MAX_CONNS_FORE     = 1187
    MQIACF_SYSP_MAX_CONNS_BACK     = 1188
    MQIACF_SYSP_EXIT_INTERVAL      = 1189
    MQIACF_SYSP_EXIT_TASKS         = 1190
    MQIACF_SYSP_CHKPOINT_COUNT     = 1191
    MQIACF_SYSP_OTMA_INTERVAL      = 1192
    MQIACF_SYSP_Q_INDEX_DEFER      = 1193
    MQIACF_SYSP_DB2_TASKS          = 1194
    MQIACF_SYSP_RESLEVEL_AUDIT     = 1195
    MQIACF_SYSP_ROUTING_CODE       = 1196
    MQIACF_SYSP_SMF_ACCOUNTING     = 1197
    MQIACF_SYSP_SMF_STATS          = 1198
    MQIACF_SYSP_SMF_INTERVAL       = 1199
    MQIACF_SYSP_TRACE_CLASS        = 1200
    MQIACF_SYSP_TRACE_SIZE         = 1201
    MQIACF_SYSP_WLM_INTERVAL       = 1202
    MQIACF_SYSP_ALLOC_UNIT         = 1203
    MQIACF_SYSP_ARCHIVE_RETAIN     = 1204
    MQIACF_SYSP_ARCHIVE_WTOR       = 1205
    MQIACF_SYSP_BLOCK_SIZE         = 1206
    MQIACF_SYSP_CATALOG            = 1207
    MQIACF_SYSP_COMPACT            = 1208
    MQIACF_SYSP_ALLOC_PRIMARY      = 1209
    MQIACF_SYSP_ALLOC_SECONDARY    = 1210
    MQIACF_SYSP_PROTECT            = 1211
    MQIACF_SYSP_QUIESCE_INTERVAL   = 1212
    MQIACF_SYSP_TIMESTAMP          = 1213
    MQIACF_SYSP_UNIT_ADDRESS       = 1214
    MQIACF_SYSP_UNIT_STATUS        = 1215
    MQIACF_SYSP_LOG_COPY           = 1216
    MQIACF_SYSP_LOG_USED           = 1217
    MQIACF_SYSP_LOG_SUSPEND        = 1218
    MQIACF_SYSP_OFFLOAD_STATUS     = 1219
    MQIACF_SYSP_TOTAL_LOGS         = 1220
    MQIACF_SYSP_FULL_LOGS          = 1221
    MQIACF_LISTENER_ATTRS          = 1222
    MQIACF_LISTENER_STATUS_ATTRS   = 1223
    MQIACF_SERVICE_ATTRS           = 1224
    MQIACF_SERVICE_STATUS_ATTRS    = 1225
    MQIACF_Q_TIME_INDICATOR        = 1226
    MQIACF_OLDEST_MSG_AGE          = 1227
    MQIACF_AUTH_OPTIONS            = 1228
    MQIACF_Q_MGR_STATUS_ATTRS      = 1229
    MQIACF_CONNECTION_COUNT        = 1230
    MQIACF_Q_MGR_FACILITY          = 1231
    MQIACF_CHINIT_STATUS           = 1232
    MQIACF_CMD_SERVER_STATUS       = 1233
    MQIACF_ROUTE_DETAIL            = 1234
    MQIACF_RECORDED_ACTIVITIES     = 1235
    MQIACF_MAX_ACTIVITIES          = 1236
    MQIACF_DISCONTINUITY_COUNT     = 1237
    MQIACF_ROUTE_ACCUMULATION      = 1238
    MQIACF_ROUTE_DELIVERY          = 1239
    MQIACF_OPERATION_TYPE          = 1240
    MQIACF_BACKOUT_COUNT           = 1241
    MQIACF_COMP_CODE               = 1242
    MQIACF_ENCODING                = 1243
    MQIACF_EXPIRY                  = 1244
    MQIACF_FEEDBACK                = 1245
    MQIACF_MSG_FLAGS               = 1247
    MQIACF_MSG_LENGTH              = 1248
    MQIACF_MSG_TYPE                = 1249
    MQIACF_OFFSET                  = 1250
    MQIACF_ORIGINAL_LENGTH         = 1251
    MQIACF_PERSISTENCE             = 1252
    MQIACF_PRIORITY                = 1253
    MQIACF_REASON_CODE             = 1254
    MQIACF_REPORT                  = 1255
    MQIACF_VERSION                 = 1256
    MQIACF_UNRECORDED_ACTIVITIES   = 1257
    MQIACF_MONITORING              = 1258
    MQIACF_ROUTE_FORWARDING        = 1259
    MQIACF_SERVICE_STATUS          = 1260
    MQIACF_Q_TYPES                 = 1261
    MQIACF_USER_ID_SUPPORT         = 1262
    MQIACF_INTERFACE_VERSION       = 1263
    MQIACF_AUTH_SERVICE_ATTRS      = 1264
    MQIACF_USAGE_EXPAND_TYPE       = 1265
    MQIACF_SYSP_CLUSTER_CACHE      = 1266
    MQIACF_SYSP_DB2_BLOB_TASKS     = 1267
    MQIACF_SYSP_WLM_INT_UNITS      = 1268
    MQIACF_TOPIC_ATTRS             = 1269
    MQIACF_PUBSUB_PROPERTIES       = 1271
    MQIACF_DESTINATION_CLASS       = 1273
    MQIACF_DURABLE_SUBSCRIPTION    = 1274
    MQIACF_SUBSCRIPTION_SCOPE      = 1275
    MQIACF_VARIABLE_USER_ID        = 1277
    MQIACF_REQUEST_ONLY            = 1280
    MQIACF_PUB_PRIORITY            = 1283
    MQIACF_SUB_ATTRS               = 1287
    MQIACF_WILDCARD_SCHEMA         = 1288
    MQIACF_SUB_TYPE                = 1289
    MQIACF_MESSAGE_COUNT           = 1290
    MQIACF_Q_MGR_PUBSUB            = 1291
    MQIACF_Q_MGR_VERSION           = 1292
    MQIACF_SUB_STATUS_ATTRS        = 1294
    MQIACF_TOPIC_STATUS            = 1295
    MQIACF_TOPIC_SUB               = 1296
    MQIACF_TOPIC_PUB               = 1297
    MQIACF_RETAINED_PUBLICATION    = 1300
    MQIACF_TOPIC_STATUS_ATTRS      = 1301
    MQIACF_TOPIC_STATUS_TYPE       = 1302
    MQIACF_SUB_OPTIONS             = 1303
    MQIACF_PUBLISH_COUNT           = 1304
    MQIACF_CLEAR_TYPE              = 1305
    MQIACF_CLEAR_SCOPE             = 1306
    MQIACF_SUB_LEVEL               = 1307
    MQIACF_ASYNC_STATE             = 1308
    MQIACF_SUB_SUMMARY             = 1309
    MQIACF_OBSOLETE_MSGS           = 1310
    MQIACF_PUBSUB_STATUS           = 1311
    MQIACF_PS_STATUS_TYPE          = 1314
    MQIACF_PUBSUB_STATUS_ATTRS     = 1318
    MQIACF_SELECTOR_TYPE           = 1321
    MQIACF_LOG_COMPRESSION         = 1322
    MQIACF_GROUPUR_CHECK_ID        = 1323
    MQIACF_MULC_CAPTURE            = 1324
    MQIACF_PERMIT_STANDBY          = 1325
    MQIACF_OPERATION_MODE         = 1326
    MQIACF_LAST_USED               = 1326

    # Queue Types
    MQQT_LOCAL     = 1
    MQQT_MODEL     = 2
    MQQT_ALIAS     = 3
    MQQT_REMOTE    = 6
    MQQT_CLUSTER   = 7

    # Command Codes
    MQCMD_NONE                       = 0
    MQCMD_CHANGE_Q_MGR               = 1
    MQCMD_INQUIRE_Q_MGR              = 2
    MQCMD_CHANGE_PROCESS             = 3
    MQCMD_COPY_PROCESS               = 4
    MQCMD_CREATE_PROCESS             = 5
    MQCMD_DELETE_PROCESS             = 6
    MQCMD_INQUIRE_PROCESS            = 7
    MQCMD_CHANGE_Q                   = 8
    MQCMD_CLEAR_Q                    = 9
    MQCMD_COPY_Q                    = 10
    MQCMD_CREATE_Q                  = 11
    MQCMD_DELETE_Q                  = 12
    MQCMD_INQUIRE_Q                 = 13
    MQCMD_REFRESH_Q_MGR             = 16
    MQCMD_RESET_Q_STATS             = 17
    MQCMD_INQUIRE_Q_NAMES           = 18
    MQCMD_INQUIRE_PROCESS_NAMES     = 19
    MQCMD_INQUIRE_CHANNEL_NAMES     = 20
    MQCMD_CHANGE_CHANNEL            = 21
    MQCMD_COPY_CHANNEL              = 22
    MQCMD_CREATE_CHANNEL            = 23
    MQCMD_DELETE_CHANNEL            = 24
    MQCMD_INQUIRE_CHANNEL           = 25
    MQCMD_PING_CHANNEL              = 26
    MQCMD_RESET_CHANNEL             = 27
    MQCMD_START_CHANNEL             = 28
    MQCMD_STOP_CHANNEL              = 29
    MQCMD_START_CHANNEL_INIT        = 30
    MQCMD_START_CHANNEL_LISTENER    = 31
    MQCMD_CHANGE_NAMELIST           = 32
    MQCMD_COPY_NAMELIST             = 33
    MQCMD_CREATE_NAMELIST           = 34
    MQCMD_DELETE_NAMELIST           = 35
    MQCMD_INQUIRE_NAMELIST          = 36
    MQCMD_INQUIRE_NAMELIST_NAMES    = 37
    MQCMD_ESCAPE                    = 38
    MQCMD_RESOLVE_CHANNEL           = 39
    MQCMD_PING_Q_MGR                = 40
    MQCMD_INQUIRE_Q_STATUS          = 41
    MQCMD_INQUIRE_CHANNEL_STATUS    = 42
    MQCMD_CONFIG_EVENT              = 43
    MQCMD_Q_MGR_EVENT               = 44
    MQCMD_PERFM_EVENT               = 45
    MQCMD_CHANNEL_EVENT             = 46
    MQCMD_DELETE_PUBLICATION        = 60
    MQCMD_DEREGISTER_PUBLISHER      = 61
    MQCMD_DEREGISTER_SUBSCRIBER     = 62
    MQCMD_PUBLISH                   = 63
    MQCMD_REGISTER_PUBLISHER        = 64
    MQCMD_REGISTER_SUBSCRIBER       = 65
    MQCMD_REQUEST_UPDATE            = 66
    MQCMD_BROKER_INTERNAL           = 67
    MQCMD_ACTIVITY_MSG              = 69
    MQCMD_INQUIRE_CLUSTER_Q_MGR     = 70
    MQCMD_RESUME_Q_MGR_CLUSTER      = 71
    MQCMD_SUSPEND_Q_MGR_CLUSTER     = 72
    MQCMD_REFRESH_CLUSTER           = 73
    MQCMD_RESET_CLUSTER             = 74
    MQCMD_TRACE_ROUTE               = 75
    MQCMD_REFRESH_SECURITY          = 78
    MQCMD_CHANGE_AUTH_INFO          = 79
    MQCMD_COPY_AUTH_INFO            = 80
    MQCMD_CREATE_AUTH_INFO          = 81
    MQCMD_DELETE_AUTH_INFO          = 82
    MQCMD_INQUIRE_AUTH_INFO         = 83
    MQCMD_INQUIRE_AUTH_INFO_NAMES   = 84
    MQCMD_INQUIRE_CONNECTION        = 85
    MQCMD_STOP_CONNECTION           = 86
    MQCMD_INQUIRE_AUTH_RECS         = 87
    MQCMD_INQUIRE_ENTITY_AUTH       = 88
    MQCMD_DELETE_AUTH_REC           = 89
    MQCMD_SET_AUTH_REC              = 90
    MQCMD_LOGGER_EVENT              = 91
    MQCMD_RESET_Q_MGR               = 92
    MQCMD_CHANGE_LISTENER           = 93
    MQCMD_COPY_LISTENER             = 94
    MQCMD_CREATE_LISTENER           = 95
    MQCMD_DELETE_LISTENER           = 96
    MQCMD_INQUIRE_LISTENER          = 97
    MQCMD_INQUIRE_LISTENER_STATUS   = 98
    MQCMD_COMMAND_EVENT             = 99
    MQCMD_CHANGE_SECURITY          = 100
    MQCMD_CHANGE_CF_STRUC          = 101
    MQCMD_CHANGE_STG_CLASS         = 102
    MQCMD_CHANGE_TRACE             = 103
    MQCMD_ARCHIVE_LOG              = 104
    MQCMD_BACKUP_CF_STRUC          = 105
    MQCMD_CREATE_BUFFER_POOL       = 106
    MQCMD_CREATE_PAGE_SET          = 107
    MQCMD_CREATE_CF_STRUC          = 108
    MQCMD_CREATE_STG_CLASS         = 109
    MQCMD_COPY_CF_STRUC            = 110
    MQCMD_COPY_STG_CLASS           = 111
    MQCMD_DELETE_CF_STRUC          = 112
    MQCMD_DELETE_STG_CLASS         = 113
    MQCMD_INQUIRE_ARCHIVE          = 114
    MQCMD_INQUIRE_CF_STRUC         = 115
    MQCMD_INQUIRE_CF_STRUC_STATUS  = 116
    MQCMD_INQUIRE_CMD_SERVER       = 117
    MQCMD_INQUIRE_CHANNEL_INIT     = 118
    MQCMD_INQUIRE_QSG              = 119
    MQCMD_INQUIRE_LOG              = 120
    MQCMD_INQUIRE_SECURITY         = 121
    MQCMD_INQUIRE_STG_CLASS        = 122
    MQCMD_INQUIRE_SYSTEM           = 123
    MQCMD_INQUIRE_THREAD           = 124
    MQCMD_INQUIRE_TRACE            = 125
    MQCMD_INQUIRE_USAGE            = 126
    MQCMD_MOVE_Q                   = 127
    MQCMD_RECOVER_BSDS             = 128
    MQCMD_RECOVER_CF_STRUC         = 129
    MQCMD_RESET_TPIPE              = 130
    MQCMD_RESOLVE_INDOUBT          = 131
    MQCMD_RESUME_Q_MGR             = 132
    MQCMD_REVERIFY_SECURITY        = 133
    MQCMD_SET_ARCHIVE              = 134
    MQCMD_SET_LOG                  = 136
    MQCMD_SET_SYSTEM               = 137
    MQCMD_START_CMD_SERVER         = 138
    MQCMD_START_Q_MGR              = 139
    MQCMD_START_TRACE              = 140
    MQCMD_STOP_CHANNEL_INIT        = 141
    MQCMD_STOP_CHANNEL_LISTENER    = 142
    MQCMD_STOP_CMD_SERVER          = 143
    MQCMD_STOP_Q_MGR               = 144
    MQCMD_STOP_TRACE               = 145
    MQCMD_SUSPEND_Q_MGR            = 146
    MQCMD_INQUIRE_CF_STRUC_NAMES   = 147
    MQCMD_INQUIRE_STG_CLASS_NAMES  = 148
    MQCMD_CHANGE_SERVICE           = 149
    MQCMD_COPY_SERVICE             = 150
    MQCMD_CREATE_SERVICE           = 151
    MQCMD_DELETE_SERVICE           = 152
    MQCMD_INQUIRE_SERVICE          = 153
    MQCMD_INQUIRE_SERVICE_STATUS   = 154
    MQCMD_START_SERVICE            = 155
    MQCMD_STOP_SERVICE             = 156
    MQCMD_DELETE_BUFFER_POOL       = 157
    MQCMD_DELETE_PAGE_SET          = 158
    MQCMD_CHANGE_BUFFER_POOL       = 159
    MQCMD_CHANGE_PAGE_SET          = 160
    MQCMD_INQUIRE_Q_MGR_STATUS     = 161
    MQCMD_CREATE_LOG               = 162
    MQCMD_STATISTICS_MQI           = 164
    MQCMD_STATISTICS_Q             = 165
    MQCMD_STATISTICS_CHANNEL       = 166
    MQCMD_ACCOUNTING_MQI           = 167
    MQCMD_ACCOUNTING_Q             = 168
    MQCMD_INQUIRE_AUTH_SERVICE     = 169
    MQCMD_CHANGE_TOPIC             = 170
    MQCMD_COPY_TOPIC               = 171
    MQCMD_CREATE_TOPIC             = 172
    MQCMD_DELETE_TOPIC             = 173
    MQCMD_INQUIRE_TOPIC            = 174
    MQCMD_INQUIRE_TOPIC_NAMES      = 175
    MQCMD_INQUIRE_SUBSCRIPTION     = 176
    MQCMD_CREATE_SUBSCRIPTION      = 177
    MQCMD_CHANGE_SUBSCRIPTION      = 178
    MQCMD_DELETE_SUBSCRIPTION      = 179
    MQCMD_COPY_SUBSCRIPTION        = 181
    MQCMD_INQUIRE_SUB_STATUS       = 182
    MQCMD_INQUIRE_TOPIC_STATUS     = 183
    MQCMD_CLEAR_TOPIC_STRING       = 184
    MQCMD_INQUIRE_PUBSUB_STATUS    = 185

    # Bag Handles
    MQHB_UNUSABLE_HBAG  = -1
    MQHB_NONE           = -2

    def decode_completion_code(completion_code)
      completion_codes = {
          MQCC_OK => 'MQCC_OK',
          MQCC_WARNING => 'MQCC_WARNING',
          MQCC_FAILED => 'MQCC_FAILED',
          MQCC_UNKNOWN => 'MQCC_UNKNOWN'
      }
      completion_codes[completion_code]
    end

    MQRC_TRUNCATED_MSG_FAILED = 2080

    def decode_reason_code(reason_code)
      reason_codes = {
       0 => :MQRC_NONE,
       2002 => :MQRC_ALREADY_CONNECTED,
       2019 => :MQRC_HOBJ_ERROR,
       2033 => :MQRC_NO_MSG_AVAILABLE,
       2037 => :MQRC_NOT_OPEN_FOR_INPUT,
       2079 => :MQRC_TRUNCATED_MSG_ACCEPTED,
       MQRC_TRUNCATED_MSG_FAILED => :MQRC_TRUNCATED_MSG_FAILED,
       2186 => :MQRC_GMO_ERROR,
       2309 => :MQRC_SELECTOR_NOT_PRESENT,
       2320 => :MQRC_HBAG_ERROR,
       2324 => :MQRC_INQUIRY_COMMAND_ERROR
       }
      reason_codes[reason_code]
    end

    MQRC_APPL_FIRST                = 900
    MQRC_APPL_LAST                 = 999
    MQRC_ALIAS_BASE_Q_TYPE_ERROR   = 2001
    MQRC_ALREADY_CONNECTED         = 2002
    MQRC_BACKED_OUT                = 2003
    MQRC_BUFFER_ERROR              = 2004
    MQRC_BUFFER_LENGTH_ERROR       = 2005
    MQRC_CHAR_ATTR_LENGTH_ERROR    = 2006
    MQRC_CHAR_ATTRS_ERROR          = 2007
    MQRC_CHAR_ATTRS_TOO_SHORT      = 2008
    MQRC_CONNECTION_BROKEN         = 2009
    MQRC_DATA_LENGTH_ERROR         = 2010
    MQRC_DYNAMIC_Q_NAME_ERROR      = 2011
    MQRC_ENVIRONMENT_ERROR         = 2012
    MQRC_EXPIRY_ERROR              = 2013
    MQRC_FEEDBACK_ERROR            = 2014
    MQRC_GET_INHIBITED             = 2016
    MQRC_HANDLE_NOT_AVAILABLE      = 2017
    MQRC_HCONN_ERROR               = 2018

    MQRC_INHIBIT_VALUE_ERROR       = 2020
    MQRC_INT_ATTR_COUNT_ERROR      = 2021
    MQRC_INT_ATTR_COUNT_TOO_SMALL  = 2022
    MQRC_INT_ATTRS_ARRAY_ERROR     = 2023
    MQRC_SYNCPOINT_LIMIT_REACHED   = 2024
    MQRC_MAX_CONNS_LIMIT_REACHED   = 2025
    MQRC_MD_ERROR                  = 2026
    MQRC_MISSING_REPLY_TO_Q        = 2027
    MQRC_MSG_TYPE_ERROR            = 2029
    MQRC_MSG_TOO_BIG_FOR_Q         = 2030
    MQRC_MSG_TOO_BIG_FOR_Q_MGR     = 2031

    MQRC_NO_MSG_UNDER_CURSOR       = 2034
    MQRC_NOT_AUTHORIZED            = 2035
    MQRC_NOT_OPEN_FOR_BROWSE       = 2036
    MQRC_NOT_OPEN_FOR_INPUT        = 2037
    MQRC_NOT_OPEN_FOR_INQUIRE      = 2038
    MQRC_NOT_OPEN_FOR_OUTPUT       = 2039
    MQRC_NOT_OPEN_FOR_SET          = 2040
    MQRC_OBJECT_CHANGED            = 2041
    MQRC_OBJECT_IN_USE             = 2042
    MQRC_OBJECT_TYPE_ERROR         = 2043
    MQRC_OD_ERROR                  = 2044
    MQRC_OPTION_NOT_VALID_FOR_TYPE = 2045
    MQRC_OPTIONS_ERROR             = 2046
    MQRC_PERSISTENCE_ERROR         = 2047
    MQRC_PERSISTENT_NOT_ALLOWED    = 2048
    MQRC_PRIORITY_EXCEEDS_MAXIMUM  = 2049
    MQRC_PRIORITY_ERROR            = 2050
    MQRC_PUT_INHIBITED             = 2051
    MQRC_Q_DELETED                 = 2052
    MQRC_Q_FULL                    = 2053
    MQRC_Q_NOT_EMPTY               = 2055
    MQRC_Q_SPACE_NOT_AVAILABLE     = 2056
    MQRC_Q_TYPE_ERROR              = 2057
    MQRC_Q_MGR_NAME_ERROR          = 2058
    MQRC_Q_MGR_NOT_AVAILABLE       = 2059
    MQRC_REPORT_OPTIONS_ERROR      = 2061
    MQRC_SECOND_MARK_NOT_ALLOWED   = 2062
    MQRC_SECURITY_ERROR            = 2063
    MQRC_SELECTOR_COUNT_ERROR      = 2065
    MQRC_SELECTOR_LIMIT_EXCEEDED   = 2066
    MQRC_SELECTOR_ERROR            = 2067
    MQRC_SELECTOR_NOT_FOR_TYPE     = 2068
    MQRC_SIGNAL_OUTSTANDING        = 2069
    MQRC_SIGNAL_REQUEST_ACCEPTED   = 2070
    MQRC_STORAGE_NOT_AVAILABLE     = 2071
    MQRC_SYNCPOINT_NOT_AVAILABLE   = 2072
    MQRC_TRIGGER_CONTROL_ERROR     = 2075
    MQRC_TRIGGER_DEPTH_ERROR       = 2076
    MQRC_TRIGGER_MSG_PRIORITY_ERR  = 2077
    MQRC_TRIGGER_TYPE_ERROR        = 2078


    MQRC_UNKNOWN_ALIAS_BASE_Q      = 2082
    MQRC_UNKNOWN_OBJECT_NAME       = 2085
    MQRC_UNKNOWN_OBJECT_Q_MGR      = 2086
    MQRC_UNKNOWN_REMOTE_Q_MGR      = 2087
    MQRC_WAIT_INTERVAL_ERROR       = 2090
    MQRC_XMIT_Q_TYPE_ERROR         = 2091
    MQRC_XMIT_Q_USAGE_ERROR        = 2092
    MQRC_NOT_OPEN_FOR_PASS_ALL     = 2093
    MQRC_NOT_OPEN_FOR_PASS_IDENT   = 2094
    MQRC_NOT_OPEN_FOR_SET_ALL      = 2095
    MQRC_NOT_OPEN_FOR_SET_IDENT    = 2096
    MQRC_CONTEXT_HANDLE_ERROR      = 2097
    MQRC_CONTEXT_NOT_AVAILABLE     = 2098
    MQRC_SIGNAL1_ERROR             = 2099
    MQRC_OBJECT_ALREADY_EXISTS     = 2100
    MQRC_OBJECT_DAMAGED            = 2101
    MQRC_RESOURCE_PROBLEM          = 2102
    MQRC_ANOTHER_Q_MGR_CONNECTED   = 2103
    MQRC_UNKNOWN_REPORT_OPTION     = 2104
    MQRC_STORAGE_CLASS_ERROR       = 2105
    MQRC_COD_NOT_VALID_FOR_XCF_Q   = 2106
    MQRC_XWAIT_CANCELED            = 2107
    MQRC_XWAIT_ERROR               = 2108
    MQRC_SUPPRESSED_BY_EXIT        = 2109
    MQRC_FORMAT_ERROR              = 2110
    MQRC_SOURCE_CCSID_ERROR        = 2111
    MQRC_SOURCE_INTEGER_ENC_ERROR  = 2112
    MQRC_SOURCE_DECIMAL_ENC_ERROR  = 2113
    MQRC_SOURCE_FLOAT_ENC_ERROR    = 2114
    MQRC_TARGET_CCSID_ERROR        = 2115
    MQRC_TARGET_INTEGER_ENC_ERROR  = 2116
    MQRC_TARGET_DECIMAL_ENC_ERROR  = 2117
    MQRC_TARGET_FLOAT_ENC_ERROR    = 2118
    MQRC_NOT_CONVERTED             = 2119
    MQRC_CONVERTED_MSG_TOO_BIG     = 2120
    MQRC_TRUNCATED                 = 2120
    MQRC_NO_EXTERNAL_PARTICIPANTS  = 2121
    MQRC_PARTICIPANT_NOT_AVAILABLE = 2122
    MQRC_OUTCOME_MIXED             = 2123
    MQRC_OUTCOME_PENDING           = 2124
    MQRC_BRIDGE_STARTED            = 2125
    MQRC_BRIDGE_STOPPED            = 2126
    MQRC_ADAPTER_STORAGE_SHORTAGE  = 2127
    MQRC_UOW_IN_PROGRESS           = 2128
    MQRC_ADAPTER_CONN_LOAD_ERROR   = 2129
    MQRC_ADAPTER_SERV_LOAD_ERROR   = 2130
    MQRC_ADAPTER_DEFS_ERROR        = 2131
    MQRC_ADAPTER_DEFS_LOAD_ERROR   = 2132
    MQRC_ADAPTER_CONV_LOAD_ERROR   = 2133
    MQRC_BO_ERROR                  = 2134
    MQRC_DH_ERROR                  = 2135
    MQRC_MULTIPLE_REASONS          = 2136
    MQRC_OPEN_FAILED               = 2137
    MQRC_ADAPTER_DISC_LOAD_ERROR   = 2138
    MQRC_CNO_ERROR                 = 2139
    MQRC_CICS_WAIT_FAILED          = 2140
    MQRC_DLH_ERROR                 = 2141
    MQRC_HEADER_ERROR              = 2142
    MQRC_SOURCE_LENGTH_ERROR       = 2143
    MQRC_TARGET_LENGTH_ERROR       = 2144
    MQRC_SOURCE_BUFFER_ERROR       = 2145
    MQRC_TARGET_BUFFER_ERROR       = 2146
    MQRC_IIH_ERROR                 = 2148
    MQRC_PCF_ERROR                 = 2149
    MQRC_DBCS_ERROR                = 2150
    MQRC_OBJECT_NAME_ERROR         = 2152
    MQRC_OBJECT_Q_MGR_NAME_ERROR   = 2153
    MQRC_RECS_PRESENT_ERROR        = 2154
    MQRC_OBJECT_RECORDS_ERROR      = 2155
    MQRC_RESPONSE_RECORDS_ERROR    = 2156
    MQRC_ASID_MISMATCH             = 2157
    MQRC_PMO_RECORD_FLAGS_ERROR    = 2158
    MQRC_PUT_MSG_RECORDS_ERROR     = 2159
    MQRC_CONN_ID_IN_USE            = 2160
    MQRC_Q_MGR_QUIESCING           = 2161
    MQRC_Q_MGR_STOPPING            = 2162
    MQRC_DUPLICATE_RECOV_COORD     = 2163
    MQRC_PMO_ERROR                 = 2173
    MQRC_API_EXIT_NOT_FOUND        = 2182
    MQRC_API_EXIT_LOAD_ERROR       = 2183
    MQRC_REMOTE_Q_NAME_ERROR       = 2184
    MQRC_INCONSISTENT_PERSISTENCE  = 2185

    MQRC_CICS_BRIDGE_RESTRICTION   = 2187
    MQRC_STOPPED_BY_CLUSTER_EXIT   = 2188
    MQRC_CLUSTER_RESOLUTION_ERROR  = 2189
    MQRC_CONVERTED_STRING_TOO_BIG  = 2190
    MQRC_TMC_ERROR                 = 2191
    MQRC_PAGESET_FULL              = 2192
    MQRC_STORAGE_MEDIUM_FULL       = 2192
    MQRC_PAGESET_ERROR             = 2193
    MQRC_NAME_NOT_VALID_FOR_TYPE   = 2194
    MQRC_UNEXPECTED_ERROR          = 2195
    MQRC_UNKNOWN_XMIT_Q            = 2196
    MQRC_UNKNOWN_DEF_XMIT_Q        = 2197
    MQRC_DEF_XMIT_Q_TYPE_ERROR     = 2198
    MQRC_DEF_XMIT_Q_USAGE_ERROR    = 2199
    MQRC_MSG_MARKED_BROWSE_CO_OP   = 2200
    MQRC_NAME_IN_USE               = 2201
    MQRC_CONNECTION_QUIESCING      = 2202
    MQRC_CONNECTION_STOPPING       = 2203
    MQRC_ADAPTER_NOT_AVAILABLE     = 2204
    MQRC_MSG_ID_ERROR              = 2206
    MQRC_CORREL_ID_ERROR           = 2207
    MQRC_FILE_SYSTEM_ERROR         = 2208
    MQRC_NO_MSG_LOCKED             = 2209
    MQRC_SOAP_DOTNET_ERROR         = 2210
    MQRC_SOAP_AXIS_ERROR           = 2211
    MQRC_SOAP_URL_ERROR            = 2212
    MQRC_FILE_NOT_AUDITED          = 2216
    MQRC_CONNECTION_NOT_AUTHORIZED = 2217
    MQRC_MSG_TOO_BIG_FOR_CHANNEL   = 2218
    MQRC_CALL_IN_PROGRESS          = 2219
    MQRC_RMH_ERROR                 = 2220
    MQRC_Q_MGR_ACTIVE              = 2222
    MQRC_Q_MGR_NOT_ACTIVE          = 2223
    MQRC_Q_DEPTH_HIGH              = 2224
    MQRC_Q_DEPTH_LOW               = 2225
    MQRC_Q_SERVICE_INTERVAL_HIGH   = 2226
    MQRC_Q_SERVICE_INTERVAL_OK     = 2227
    MQRC_RFH_HEADER_FIELD_ERROR    = 2228
    MQRC_RAS_PROPERTY_ERROR        = 2229
    MQRC_UNIT_OF_WORK_NOT_STARTED  = 2232
    MQRC_CHANNEL_AUTO_DEF_OK       = 2233
    MQRC_CHANNEL_AUTO_DEF_ERROR    = 2234
    MQRC_CFH_ERROR                 = 2235
    MQRC_CFIL_ERROR                = 2236
    MQRC_CFIN_ERROR                = 2237
    MQRC_CFSL_ERROR                = 2238
    MQRC_CFST_ERROR                = 2239
    MQRC_INCOMPLETE_GROUP          = 2241
    MQRC_INCOMPLETE_MSG            = 2242
    MQRC_INCONSISTENT_CCSIDS       = 2243
    MQRC_INCONSISTENT_ENCODINGS    = 2244
    MQRC_INCONSISTENT_UOW          = 2245
    MQRC_INVALID_MSG_UNDER_CURSOR  = 2246
    MQRC_MATCH_OPTIONS_ERROR       = 2247
    MQRC_MDE_ERROR                 = 2248
    MQRC_MSG_FLAGS_ERROR           = 2249
    MQRC_MSG_SEQ_NUMBER_ERROR      = 2250
    MQRC_OFFSET_ERROR              = 2251
    MQRC_ORIGINAL_LENGTH_ERROR     = 2252
    MQRC_SEGMENT_LENGTH_ZERO       = 2253
    MQRC_UOW_NOT_AVAILABLE         = 2255
    MQRC_WRONG_GMO_VERSION         = 2256
    MQRC_WRONG_MD_VERSION          = 2257
    MQRC_GROUP_ID_ERROR            = 2258
    MQRC_INCONSISTENT_BROWSE       = 2259
    MQRC_XQH_ERROR                 = 2260
    MQRC_SRC_ENV_ERROR             = 2261
    MQRC_SRC_NAME_ERROR            = 2262
    MQRC_DEST_ENV_ERROR            = 2263
    MQRC_DEST_NAME_ERROR           = 2264
    MQRC_TM_ERROR                  = 2265
    MQRC_CLUSTER_EXIT_ERROR        = 2266
    MQRC_CLUSTER_EXIT_LOAD_ERROR   = 2267
    MQRC_CLUSTER_PUT_INHIBITED     = 2268
    MQRC_CLUSTER_RESOURCE_ERROR    = 2269
    MQRC_NO_DESTINATIONS_AVAILABLE = 2270
    MQRC_CONN_TAG_IN_USE           = 2271
    MQRC_PARTIALLY_CONVERTED       = 2272
    MQRC_CONNECTION_ERROR          = 2273
    MQRC_OPTION_ENVIRONMENT_ERROR  = 2274
    MQRC_CD_ERROR                  = 2277
    MQRC_CLIENT_CONN_ERROR         = 2278
    MQRC_CHANNEL_STOPPED_BY_USER   = 2279
    MQRC_HCONFIG_ERROR             = 2280
    MQRC_FUNCTION_ERROR            = 2281
    MQRC_CHANNEL_STARTED           = 2282
    MQRC_CHANNEL_STOPPED           = 2283
    MQRC_CHANNEL_CONV_ERROR        = 2284
    MQRC_SERVICE_NOT_AVAILABLE     = 2285
    MQRC_INITIALIZATION_FAILED     = 2286
    MQRC_TERMINATION_FAILED        = 2287
    MQRC_UNKNOWN_Q_NAME            = 2288
    MQRC_SERVICE_ERROR             = 2289
    MQRC_Q_ALREADY_EXISTS          = 2290
    MQRC_USER_ID_NOT_AVAILABLE     = 2291
    MQRC_UNKNOWN_ENTITY            = 2292
    MQRC_UNKNOWN_AUTH_ENTITY       = 2293
    MQRC_UNKNOWN_REF_OBJECT        = 2294
    MQRC_CHANNEL_ACTIVATED         = 2295
    MQRC_CHANNEL_NOT_ACTIVATED     = 2296
    MQRC_UOW_CANCELED              = 2297
    MQRC_FUNCTION_NOT_SUPPORTED    = 2298
    MQRC_SELECTOR_TYPE_ERROR       = 2299
    MQRC_COMMAND_TYPE_ERROR        = 2300
    MQRC_MULTIPLE_INSTANCE_ERROR   = 2301
    MQRC_SYSTEM_ITEM_NOT_ALTERABLE = 2302
    MQRC_BAG_CONVERSION_ERROR      = 2303
    MQRC_SELECTOR_OUT_OF_RANGE     = 2304
    MQRC_SELECTOR_NOT_UNIQUE       = 2305
    MQRC_INDEX_NOT_PRESENT         = 2306
    MQRC_STRING_ERROR              = 2307
    MQRC_ENCODING_NOT_SUPPORTED    = 2308

    MQRC_OUT_SELECTOR_ERROR        = 2310
    MQRC_STRING_TRUNCATED          = 2311
    MQRC_SELECTOR_WRONG_TYPE       = 2312
    MQRC_INCONSISTENT_ITEM_TYPE    = 2313
    MQRC_INDEX_ERROR               = 2314
    MQRC_SYSTEM_BAG_NOT_ALTERABLE  = 2315
    MQRC_ITEM_COUNT_ERROR          = 2316
    MQRC_FORMAT_NOT_SUPPORTED      = 2317
    MQRC_SELECTOR_NOT_SUPPORTED    = 2318
    MQRC_ITEM_VALUE_ERROR          = 2319
    MQRC_HBAG_ERROR                = 2320
    MQRC_PARAMETER_MISSING         = 2321
    MQRC_CMD_SERVER_NOT_AVAILABLE  = 2322
    MQRC_STRING_LENGTH_ERROR       = 2323

    MQRC_NESTED_BAG_NOT_SUPPORTED  = 2325
    MQRC_BAG_WRONG_TYPE            = 2326
    MQRC_ITEM_TYPE_ERROR           = 2327
    MQRC_SYSTEM_BAG_NOT_DELETABLE  = 2328
    MQRC_SYSTEM_ITEM_NOT_DELETABLE = 2329
    MQRC_CODED_CHAR_SET_ID_ERROR   = 2330
    MQRC_MSG_TOKEN_ERROR           = 2331
    MQRC_MISSING_WIH               = 2332
    MQRC_WIH_ERROR                 = 2333
    MQRC_RFH_ERROR                 = 2334
    MQRC_RFH_STRING_ERROR          = 2335
    MQRC_RFH_COMMAND_ERROR         = 2336
    MQRC_RFH_PARM_ERROR            = 2337
    MQRC_RFH_DUPLICATE_PARM        = 2338
    MQRC_RFH_PARM_MISSING          = 2339
    MQRC_CHAR_CONVERSION_ERROR     = 2340
    MQRC_UCS2_CONVERSION_ERROR     = 2341
    MQRC_DB2_NOT_AVAILABLE         = 2342
    MQRC_OBJECT_NOT_UNIQUE         = 2343
    MQRC_CONN_TAG_NOT_RELEASED     = 2344
    MQRC_CF_NOT_AVAILABLE          = 2345
    MQRC_CF_STRUC_IN_USE           = 2346
    MQRC_CF_STRUC_LIST_HDR_IN_USE  = 2347
    MQRC_CF_STRUC_AUTH_FAILED      = 2348
    MQRC_CF_STRUC_ERROR            = 2349
    MQRC_CONN_TAG_NOT_USABLE       = 2350
    MQRC_GLOBAL_UOW_CONFLICT       = 2351
    MQRC_LOCAL_UOW_CONFLICT        = 2352
    MQRC_HANDLE_IN_USE_FOR_UOW     = 2353
    MQRC_UOW_ENLISTMENT_ERROR      = 2354
    MQRC_UOW_MIX_NOT_SUPPORTED     = 2355
    MQRC_WXP_ERROR                 = 2356
    MQRC_CURRENT_RECORD_ERROR      = 2357
    MQRC_NEXT_OFFSET_ERROR         = 2358
    MQRC_NO_RECORD_AVAILABLE       = 2359
    MQRC_OBJECT_LEVEL_INCOMPATIBLE = 2360
    MQRC_NEXT_RECORD_ERROR         = 2361
    MQRC_BACKOUT_THRESHOLD_REACHED = 2362
    MQRC_MSG_NOT_MATCHED           = 2363
    MQRC_JMS_FORMAT_ERROR          = 2364
    MQRC_SEGMENTS_NOT_SUPPORTED    = 2365
    MQRC_WRONG_CF_LEVEL            = 2366
    MQRC_CONFIG_CREATE_OBJECT      = 2367
    MQRC_CONFIG_CHANGE_OBJECT      = 2368
    MQRC_CONFIG_DELETE_OBJECT      = 2369
    MQRC_CONFIG_REFRESH_OBJECT     = 2370
    MQRC_CHANNEL_SSL_ERROR         = 2371
    MQRC_PARTICIPANT_NOT_DEFINED   = 2372
    MQRC_CF_STRUC_FAILED           = 2373
    MQRC_API_EXIT_ERROR            = 2374
    MQRC_API_EXIT_INIT_ERROR       = 2375
    MQRC_API_EXIT_TERM_ERROR       = 2376
    MQRC_EXIT_REASON_ERROR         = 2377
    MQRC_RESERVED_VALUE_ERROR      = 2378
    MQRC_NO_DATA_AVAILABLE         = 2379
    MQRC_SCO_ERROR                 = 2380
    MQRC_KEY_REPOSITORY_ERROR      = 2381
    MQRC_CRYPTO_HARDWARE_ERROR     = 2382
    MQRC_AUTH_INFO_REC_COUNT_ERROR = 2383
    MQRC_AUTH_INFO_REC_ERROR       = 2384
    MQRC_AIR_ERROR                 = 2385
    MQRC_AUTH_INFO_TYPE_ERROR      = 2386
    MQRC_AUTH_INFO_CONN_NAME_ERROR = 2387
    MQRC_LDAP_USER_NAME_ERROR      = 2388
    MQRC_LDAP_USER_NAME_LENGTH_ERR = 2389
    MQRC_LDAP_PASSWORD_ERROR       = 2390
    MQRC_SSL_ALREADY_INITIALIZED   = 2391
    MQRC_SSL_CONFIG_ERROR          = 2392
    MQRC_SSL_INITIALIZATION_ERROR  = 2393
    MQRC_Q_INDEX_TYPE_ERROR        = 2394
    MQRC_CFBS_ERROR                = 2395
    MQRC_SSL_NOT_ALLOWED           = 2396
    MQRC_JSSE_ERROR                = 2397
    MQRC_SSL_PEER_NAME_MISMATCH    = 2398
    MQRC_SSL_PEER_NAME_ERROR       = 2399
    MQRC_UNSUPPORTED_CIPHER_SUITE  = 2400
    MQRC_SSL_CERTIFICATE_REVOKED   = 2401
    MQRC_SSL_CERT_STORE_ERROR      = 2402
    MQRC_CLIENT_EXIT_LOAD_ERROR    = 2406
    MQRC_CLIENT_EXIT_ERROR         = 2407
    MQRC_UOW_COMMITTED             = 2408
    MQRC_SSL_KEY_RESET_ERROR       = 2409
    MQRC_UNKNOWN_COMPONENT_NAME    = 2410
    MQRC_LOGGER_STATUS             = 2411
    MQRC_COMMAND_MQSC              = 2412
    MQRC_COMMAND_PCF               = 2413
    MQRC_CFIF_ERROR                = 2414
    MQRC_CFSF_ERROR                = 2415
    MQRC_CFGR_ERROR                = 2416
    MQRC_MSG_NOT_ALLOWED_IN_GROUP  = 2417
    MQRC_FILTER_OPERATOR_ERROR     = 2418
    MQRC_NESTED_SELECTOR_ERROR     = 2419
    MQRC_EPH_ERROR                 = 2420
    MQRC_RFH_FORMAT_ERROR          = 2421
    MQRC_CFBF_ERROR                = 2422
    MQRC_CLIENT_CHANNEL_CONFLICT   = 2423
    MQRC_SD_ERROR                  = 2424
    MQRC_TOPIC_STRING_ERROR        = 2425
    MQRC_STS_ERROR                 = 2426
    MQRC_NO_SUBSCRIPTION           = 2428
    MQRC_SUBSCRIPTION_IN_USE       = 2429
    MQRC_STAT_TYPE_ERROR           = 2430
    MQRC_SUB_USER_DATA_ERROR       = 2431
    MQRC_SUB_ALREADY_EXISTS        = 2432
    MQRC_IDENTITY_MISMATCH         = 2434
    MQRC_ALTER_SUB_ERROR           = 2435
    MQRC_DURABILITY_NOT_ALLOWED    = 2436
    MQRC_NO_RETAINED_MSG           = 2437
    MQRC_SRO_ERROR                 = 2438
    MQRC_SUB_NAME_ERROR            = 2440
    MQRC_OBJECT_STRING_ERROR       = 2441
    MQRC_PROPERTY_NAME_ERROR       = 2442
    MQRC_SEGMENTATION_NOT_ALLOWED  = 2443
    MQRC_CBD_ERROR                 = 2444
    MQRC_CTLO_ERROR                = 2445
    MQRC_NO_CALLBACKS_ACTIVE       = 2446
    MQRC_CALLBACK_NOT_REGISTERED   = 2448
    MQRC_OPTIONS_CHANGED           = 2457
    MQRC_READ_AHEAD_MSGS           = 2458
    MQRC_SELECTOR_SYNTAX_ERROR     = 2459
    MQRC_HMSG_ERROR                = 2460
    MQRC_CMHO_ERROR                = 2461
    MQRC_DMHO_ERROR                = 2462
    MQRC_SMPO_ERROR                = 2463
    MQRC_IMPO_ERROR                = 2464
    MQRC_PROPERTY_NAME_TOO_BIG     = 2465
    MQRC_PROP_VALUE_NOT_CONVERTED  = 2466
    MQRC_PROP_TYPE_NOT_SUPPORTED   = 2467
    MQRC_PROPERTY_VALUE_TOO_BIG    = 2469
    MQRC_PROP_CONV_NOT_SUPPORTED   = 2470
    MQRC_PROPERTY_NOT_AVAILABLE    = 2471
    MQRC_PROP_NUMBER_FORMAT_ERROR  = 2472
    MQRC_PROPERTY_TYPE_ERROR       = 2473
    MQRC_PROPERTIES_TOO_BIG        = 2478
    MQRC_PUT_NOT_RETAINED          = 2479
    MQRC_ALIAS_TARGTYPE_CHANGED    = 2480
    MQRC_DMPO_ERROR                = 2481
    MQRC_PD_ERROR                  = 2482
    MQRC_CALLBACK_TYPE_ERROR       = 2483
    MQRC_CBD_OPTIONS_ERROR         = 2484
    MQRC_MAX_MSG_LENGTH_ERROR      = 2485
    MQRC_CALLBACK_ROUTINE_ERROR    = 2486
    MQRC_CALLBACK_LINK_ERROR       = 2487
    MQRC_OPERATION_ERROR           = 2488
    MQRC_BMHO_ERROR                = 2489
    MQRC_UNSUPPORTED_PROPERTY      = 2490
    MQRC_PROP_NAME_NOT_CONVERTED   = 2492
    MQRC_GET_ENABLED               = 2494
    MQRC_MODULE_NOT_FOUND          = 2495
    MQRC_MODULE_INVALID            = 2496
    MQRC_MODULE_ENTRY_NOT_FOUND    = 2497
    MQRC_MIXED_CONTENT_NOT_ALLOWED = 2498
    MQRC_MSG_HANDLE_IN_USE         = 2499
    MQRC_HCONN_ASYNC_ACTIVE        = 2500
    MQRC_MHBO_ERROR                = 2501
    MQRC_PUBLICATION_FAILURE       = 2502
    MQRC_SUB_INHIBITED             = 2503
    MQRC_SELECTOR_ALWAYS_FALSE     = 2504
    MQRC_XEPO_ERROR                = 2507
    MQRC_DURABILITY_NOT_ALTERABLE  = 2509
    MQRC_TOPIC_NOT_ALTERABLE       = 2510
    MQRC_SUBLEVEL_NOT_ALTERABLE    = 2512
    MQRC_PROPERTY_NAME_LENGTH_ERR  = 2513
    MQRC_DUPLICATE_GROUP_SUB       = 2514
    MQRC_GROUPING_NOT_ALTERABLE    = 2515
    MQRC_SELECTOR_INVALID_FOR_TYPE = 2516
    MQRC_HOBJ_QUIESCED             = 2517
    MQRC_HOBJ_QUIESCED_NO_MSGS     = 2518
    MQRC_SELECTION_STRING_ERROR    = 2519
    MQRC_RES_OBJECT_STRING_ERROR   = 2520
    MQRC_CONNECTION_SUSPENDED      = 2521
    MQRC_INVALID_DESTINATION       = 2522
    MQRC_INVALID_SUBSCRIPTION      = 2523
    MQRC_SELECTOR_NOT_ALTERABLE    = 2524
    MQRC_RETAINED_MSG_Q_ERROR      = 2525
    MQRC_RETAINED_NOT_DELIVERED    = 2526
    MQRC_RFH_RESTRICTED_FORMAT_ERR = 2527
    MQRC_CONNECTION_STOPPED        = 2528
    MQRC_ASYNC_UOW_CONFLICT        = 2529
    MQRC_ASYNC_XA_CONFLICT         = 2530
    MQRC_PUBSUB_INHIBITED          = 2531
    MQRC_MSG_HANDLE_COPY_FAILURE   = 2532
    MQRC_DEST_CLASS_NOT_ALTERABLE  = 2533
    MQRC_OPERATION_NOT_ALLOWED     = 2534
    MQRC_ACTION_ERROR              = 2535
    MQRC_CHANNEL_NOT_AVAILABLE     = 2537
    MQRC_HOST_NOT_AVAILABLE        = 2538
    MQRC_CHANNEL_CONFIG_ERROR      = 2539
    MQRC_UNKNOWN_CHANNEL_NAME      = 2540
    MQRC_LOOPING_PUBLICATION       = 2541
    MQRC_ALREADY_JOINED            = 2542
    MQRC_STANDBY_Q_MGR             = 2543
    MQRC_RECONNECTING              = 2544
    MQRC_RECONNECTED               = 2545
    MQRC_RECONNECT_QMID_MISMATCH   = 2546
    MQRC_RECONNECT_INCOMPATIBLE    = 2547
    MQRC_RECONNECT_FAILED          = 2548
    MQRC_CALL_INTERRUPTED          = 2549
    MQRC_NO_SUBS_MATCHED           = 2550
    MQRC_SELECTION_NOT_AVAILABLE   = 2551
    MQRC_CHANNEL_SSL_WARNING       = 2552
    MQRC_OCSP_URL_ERROR            = 2553
    MQRC_CONTENT_ERROR             = 2554
    MQRC_RECONNECT_Q_MGR_REQD      = 2555
    MQRC_RECONNECT_TIMED_OUT       = 2556
    MQRC_PUBLISH_EXIT_ERROR        = 2557

    MQRC_REOPEN_EXCL_INPUT_ERROR   = 6100
    MQRC_REOPEN_INQUIRE_ERROR      = 6101
    MQRC_REOPEN_SAVED_CONTEXT_ERR  = 6102
    MQRC_REOPEN_TEMPORARY_Q_ERROR  = 6103
    MQRC_ATTRIBUTE_LOCKED          = 6104
    MQRC_CURSOR_NOT_VALID          = 6105
    MQRC_ENCODING_ERROR            = 6106
    MQRC_STRUC_ID_ERROR            = 6107
    MQRC_NULL_POINTER              = 6108
    MQRC_NO_CONNECTION_REFERENCE   = 6109
    MQRC_NO_BUFFER                 = 6110
    MQRC_BINARY_DATA_LENGTH_ERROR  = 6111
    MQRC_BUFFER_NOT_AUTOMATIC      = 6112
    MQRC_INSUFFICIENT_BUFFER       = 6113
    MQRC_INSUFFICIENT_DATA         = 6114
    MQRC_DATA_TRUNCATED            = 6115
    MQRC_ZERO_LENGTH               = 6116
    MQRC_NEGATIVE_LENGTH           = 6117
    MQRC_NEGATIVE_OFFSET           = 6118
    MQRC_INCONSISTENT_FORMAT       = 6119
    MQRC_INCONSISTENT_OBJECT_STATE = 6120
    MQRC_CONTEXT_OBJECT_NOT_VALID  = 6121
    MQRC_CONTEXT_OPEN_ERROR        = 6122
    MQRC_STRUC_LENGTH_ERROR        = 6123
    MQRC_NOT_CONNECTED             = 6124
    MQRC_NOT_OPEN                  = 6125
    MQRC_DISTRIBUTION_LIST_EMPTY   = 6126
    MQRC_INCONSISTENT_OPEN_OPTIONS = 6127
    MQRC_WRONG_VERSION             = 6128
    MQRC_REFERENCE_ERROR           = 6129

    # Object Handle
    MQHO_UNUSABLE_HOBJ = -1
    MQHO_NONE          = 0

    # Handle Selectors
    MQHA_FIRST      = 4001
    MQHA_BAG_HANDLE = 4001
    MQHA_LAST_USED  = 4001
    MQHA_LAST       = 6000
    
    # String Lengths
    MQ_ABEND_CODE_LENGTH          = 4
    MQ_ACCOUNTING_TOKEN_LENGTH    = 32
    MQ_APPL_DESC_LENGTH           = 64
    MQ_APPL_IDENTITY_DATA_LENGTH  = 32
    MQ_APPL_NAME_LENGTH           = 28
    MQ_APPL_ORIGIN_DATA_LENGTH    = 4
    MQ_APPL_TAG_LENGTH            = 28
    MQ_ARM_SUFFIX_LENGTH          = 2
    MQ_ATTENTION_ID_LENGTH        = 4
    MQ_AUTH_INFO_CONN_NAME_LENGTH = 264
    MQ_AUTH_INFO_DESC_LENGTH      = 64
    MQ_AUTH_INFO_NAME_LENGTH      = 48
    MQ_AUTH_INFO_OCSP_URL_LENGTH  = 256
    MQ_AUTHENTICATOR_LENGTH       = 8
    MQ_AUTO_REORG_CATALOG_LENGTH  = 44
    MQ_AUTO_REORG_TIME_LENGTH     = 4
    MQ_BATCH_INTERFACE_ID_LENGTH  = 8
    MQ_BRIDGE_NAME_LENGTH         = 24
    MQ_CANCEL_CODE_LENGTH         = 4
    MQ_CF_STRUC_DESC_LENGTH       = 64
    MQ_CF_STRUC_NAME_LENGTH       = 12
    MQ_CHANNEL_DATE_LENGTH        = 12
    MQ_CHANNEL_DESC_LENGTH        = 64
    MQ_CHANNEL_NAME_LENGTH        = 20
    MQ_CHANNEL_TIME_LENGTH        = 8
    MQ_CHINIT_SERVICE_PARM_LENGTH = 32
    MQ_CICS_FILE_NAME_LENGTH      = 8
    MQ_CLUSTER_NAME_LENGTH        = 48
    MQ_CONN_NAME_LENGTH           = 264
    MQ_CONN_TAG_LENGTH            = 128
    MQ_CONNECTION_ID_LENGTH       = 24
    MQ_CORREL_ID_LENGTH           = 24
    MQ_CREATION_DATE_LENGTH       = 12
    MQ_CREATION_TIME_LENGTH       = 8
    MQ_DATE_LENGTH                = 12
    MQ_DISTINGUISHED_NAME_LENGTH  = 1024
    MQ_DNS_GROUP_NAME_LENGTH      = 18
    MQ_EXIT_DATA_LENGTH           = 32
    MQ_EXIT_INFO_NAME_LENGTH      = 48
    MQ_EXIT_NAME_LENGTH           = 128
    MQ_EXIT_PD_AREA_LENGTH        = 48
    MQ_EXIT_USER_AREA_LENGTH      = 16
    MQ_FACILITY_LENGTH            = 8
    MQ_FACILITY_LIKE_LENGTH       = 4
    MQ_FORMAT_LENGTH              = 8
    MQ_FUNCTION_LENGTH            = 4
    MQ_GROUP_ID_LENGTH            = 24
    MQ_LDAP_PASSWORD_LENGTH       = 32
    MQ_LISTENER_NAME_LENGTH       = 48
    MQ_LISTENER_DESC_LENGTH       = 64
    MQ_LOCAL_ADDRESS_LENGTH       = 48
    MQ_LTERM_OVERRIDE_LENGTH      = 8
    MQ_LU_NAME_LENGTH             = 8
    MQ_LUWID_LENGTH               = 16
    MQ_MAX_EXIT_NAME_LENGTH       = 128
    MQ_MAX_MCA_USER_ID_LENGTH     = 64
    MQ_MAX_PROPERTY_NAME_LENGTH   = 4095
    MQ_MAX_USER_ID_LENGTH         = 64
    MQ_MCA_JOB_NAME_LENGTH        = 28
    MQ_MCA_NAME_LENGTH            = 20
    MQ_MCA_USER_DATA_LENGTH       = 32
    MQ_MCA_USER_ID_LENGTH         = 64
    MQ_MFS_MAP_NAME_LENGTH        = 8
    MQ_MODE_NAME_LENGTH           = 8
    MQ_MSG_HEADER_LENGTH          = 4000
    MQ_MSG_ID_LENGTH              = 24
    MQ_MSG_TOKEN_LENGTH           = 16
    MQ_NAMELIST_DESC_LENGTH       = 64
    MQ_NAMELIST_NAME_LENGTH       = 48
    MQ_OBJECT_INSTANCE_ID_LENGTH  = 24
    MQ_OBJECT_NAME_LENGTH         = 48
    MQ_PASS_TICKET_APPL_LENGTH    = 8
    MQ_PASSWORD_LENGTH            = 12
    MQ_PROCESS_APPL_ID_LENGTH     = 256
    MQ_PROCESS_DESC_LENGTH        = 64
    MQ_PROCESS_ENV_DATA_LENGTH    = 128
    MQ_PROCESS_NAME_LENGTH        = 48
    MQ_PROCESS_USER_DATA_LENGTH   = 128
    MQ_PROGRAM_NAME_LENGTH        = 20
    MQ_PUT_APPL_NAME_LENGTH       = 28
    MQ_PUT_DATE_LENGTH            = 8
    MQ_PUT_TIME_LENGTH            = 8
    MQ_Q_DESC_LENGTH              = 64
    MQ_Q_MGR_DESC_LENGTH          = 64
    MQ_Q_MGR_IDENTIFIER_LENGTH    = 48
    MQ_Q_MGR_NAME_LENGTH          = 48
    MQ_Q_NAME_LENGTH              = 48
    MQ_QSG_NAME_LENGTH            = 4
    MQ_REMOTE_SYS_ID_LENGTH       = 4
    MQ_SECURITY_ID_LENGTH         = 40
    MQ_SELECTOR_LENGTH            = 10240
    MQ_SERVICE_ARGS_LENGTH        = 255
    MQ_SERVICE_COMMAND_LENGTH     = 255
    MQ_SERVICE_DESC_LENGTH        = 64
    MQ_SERVICE_NAME_LENGTH        = 32
    MQ_SERVICE_PATH_LENGTH        = 255
    MQ_SERVICE_STEP_LENGTH        = 8
    MQ_SHORT_CONN_NAME_LENGTH     = 20
    MQ_SHORT_DNAME_LENGTH         = 256
    MQ_SSL_CIPHER_SPEC_LENGTH     = 32
    MQ_SSL_CRYPTO_HARDWARE_LENGTH = 256
    MQ_SSL_HANDSHAKE_STAGE_LENGTH = 32
    MQ_SSL_KEY_LIBRARY_LENGTH     = 44
    MQ_SSL_KEY_MEMBER_LENGTH      = 8
    MQ_SSL_KEY_REPOSITORY_LENGTH  = 256
    MQ_SSL_PEER_NAME_LENGTH       = 1024
    MQ_SSL_SHORT_PEER_NAME_LENGTH = 256
    MQ_START_CODE_LENGTH          = 4
    MQ_STORAGE_CLASS_DESC_LENGTH  = 64
    MQ_STORAGE_CLASS_LENGTH       = 8
    MQ_SUB_IDENTITY_LENGTH        = 128
    MQ_SUB_POINT_LENGTH           = 128
    MQ_TCP_NAME_LENGTH            = 8
    MQ_TIME_LENGTH                = 8
    MQ_TOPIC_DESC_LENGTH          = 64
    MQ_TOPIC_NAME_LENGTH          = 48
    MQ_TOPIC_STR_LENGTH           = 10240
    MQ_TOTAL_EXIT_DATA_LENGTH     = 999
    MQ_TOTAL_EXIT_NAME_LENGTH     = 999
    MQ_TP_NAME_LENGTH             = 64
    MQ_TPIPE_NAME_LENGTH          = 8
    MQ_TRAN_INSTANCE_ID_LENGTH    = 16
    MQ_TRANSACTION_ID_LENGTH      = 4
    MQ_TRIGGER_DATA_LENGTH        = 64
    MQ_TRIGGER_PROGRAM_NAME_LENGTH= 8
    MQ_TRIGGER_TERM_ID_LENGTH     = 4
    MQ_TRIGGER_TRANS_ID_LENGTH    = 4
    MQ_USER_ID_LENGTH             = 12
    MQ_XCF_GROUP_NAME_LENGTH      = 8
    MQ_XCF_MEMBER_NAME_LENGTH     = 16

    # Open Options
    MQOO_BIND_AS_Q_DEF            = 0x00000000
    MQOO_READ_AHEAD_AS_Q_DEF      = 0x00000000
    MQOO_INPUT_AS_Q_DEF           = 0x00000001
    MQOO_INPUT_SHARED             = 0x00000002
    MQOO_INPUT_EXCLUSIVE          = 0x00000004
    MQOO_BROWSE                   = 0x00000008
    MQOO_OUTPUT                   = 0x00000010
    MQOO_INQUIRE                  = 0x00000020
    MQOO_SET                      = 0x00000040
    MQOO_SAVE_ALL_CONTEXT         = 0x00000080
    MQOO_PASS_IDENTITY_CONTEXT    = 0x00000100
    MQOO_PASS_ALL_CONTEXT         = 0x00000200
    MQOO_SET_IDENTITY_CONTEXT     = 0x00000400
    MQOO_SET_ALL_CONTEXT          = 0x00000800
    MQOO_ALTERNATE_USER_AUTHORITY = 0x00001000
    MQOO_FAIL_IF_QUIESCING        = 0x00002000
    MQOO_BIND_ON_OPEN             = 0x00004000
    MQOO_BIND_NOT_FIXED           = 0x00008000
    MQOO_CO_OP                    = 0x00020000
    MQOO_NO_READ_AHEAD            = 0x00080000
    MQOO_READ_AHEAD               = 0x00100000

    # Close Options
    MQCO_IMMEDIATE    = 0x00000000
    MQCO_NONE         = 0x00000000
    MQCO_DELETE       = 0x00000001
    MQCO_DELETE_PURGE = 0x00000002
    MQCO_KEEP_SUB     = 0x00000004
    MQCO_REMOVE_SUB   = 0x00000008
    MQCO_QUIESCE      = 0x00000020

    # Purge Options
    MQPO_YES = 1
    MQPO_NO  = 0

  end
end
